package com.example.login_demo.base;

public class BasePageBean {
    private LinksBean _links;
    private MetaBean _meta;
    public LinksBean get_links() {
        return _links;
    }

    public void set_links(LinksBean _links) {
        this._links = _links;
    }

    public MetaBean get_meta() {
        return _meta;
    }

    public void set_meta(MetaBean _meta) {
        this._meta = _meta;
    }

    public static class LinksBean {
        /**
         * self : {"href":"http://192.168.2.31/bbs/comment/comment-list?post_id=13102&page=1&pageSize=10&orderBy=desc&timestamp=1530600419&access_token=O_75-O8g05SsevROJrazaMx7NWebMMDZ&__debug__=1&per-page=10"}
         * next : {"href":"http://192.168.2.31/bbs/comment/comment-list?post_id=13102&page=2&pageSize=10&orderBy=desc&timestamp=1530600419&access_token=O_75-O8g05SsevROJrazaMx7NWebMMDZ&__debug__=1&per-page=10"}
         * last : {"href":"http://192.168.2.31/bbs/comment/comment-list?post_id=13102&page=3&pageSize=10&orderBy=desc&timestamp=1530600419&access_token=O_75-O8g05SsevROJrazaMx7NWebMMDZ&__debug__=1&per-page=10"}
         */

        private SelfBean self;
        private NextBean next;
        private LastBean last;

        public SelfBean getSelf() {
            return self;
        }

        public void setSelf(SelfBean self) {
            this.self = self;
        }

        public NextBean getNext() {
            return next;
        }

        public void setNext(NextBean next) {
            this.next = next;
        }

        public LastBean getLast() {
            return last;
        }

        public void setLast(LastBean last) {
            this.last = last;
        }

        public static class SelfBean {
            /**
             * href : http://192.168.2.31/bbs/comment/comment-list?post_id=13102&page=1&pageSize=10&orderBy=desc&timestamp=1530600419&access_token=O_75-O8g05SsevROJrazaMx7NWebMMDZ&__debug__=1&per-page=10
             */

            private String href;

            public String getHref() {
                return href;
            }

            public void setHref(String href) {
                this.href = href;
            }
        }

        public static class NextBean {
            /**
             * href : http://192.168.2.31/bbs/comment/comment-list?post_id=13102&page=2&pageSize=10&orderBy=desc&timestamp=1530600419&access_token=O_75-O8g05SsevROJrazaMx7NWebMMDZ&__debug__=1&per-page=10
             */

            private String href;

            public String getHref() {
                return href;
            }

            public void setHref(String href) {
                this.href = href;
            }
        }

        public static class LastBean {
            /**
             * href : http://192.168.2.31/bbs/comment/comment-list?post_id=13102&page=3&pageSize=10&orderBy=desc&timestamp=1530600419&access_token=O_75-O8g05SsevROJrazaMx7NWebMMDZ&__debug__=1&per-page=10
             */

            private String href;

            public String getHref() {
                return href;
            }

            public void setHref(String href) {
                this.href = href;
            }
        }
    }

    public static class MetaBean {
        /**
         * totalCount : 27
         * pageCount : 3
         * currentPage : 1
         * perPage : 10
         */

        private int totalCount;
        private int pageCount;
        private int currentPage;
        private int perPage;

        public int getTotalCount() {
            return totalCount;
        }

        public void setTotalCount(int totalCount) {
            this.totalCount = totalCount;
        }

        public int getPageCount() {
            return pageCount;
        }

        public void setPageCount(int pageCount) {
            this.pageCount = pageCount;
        }

        public int getCurrentPage() {
            return currentPage;
        }

        public void setCurrentPage(int currentPage) {
            this.currentPage = currentPage;
        }

        public int getPerPage() {
            return perPage;
        }

        public void setPerPage(int perPage) {
            this.perPage = perPage;
        }
    }
}
